package org.davidtrevien.com.imput.omi.panels.center.planning.processdata.impl;

import org.davidtrevien.com.imput.datamodel.task.Task;
import org.davidtrevien.com.imput.omi.panels.center.planning.model.TTask;
import org.davidtrevien.com.imput.omi.panels.center.planning.processdata.TProcessData;

public class TTaskProcessData
implements TProcessData<TTask, Task> {

	@Override
	public void proccessTToData(TTask in, Task out) {
		out.setNumberTCR(in.getNumberTCR());
		out.setLabel(in.getLabel());
		out.setBudget(in.getBudget());
		out.setConsomated(in.getConsomated());
		out.setDeliveryEffectiveDate(in.getDeliveryEffectiveDate());
		out.setDeliveryRequieredDate(in.getDeliveryRequieredDate());
		out.setFinalCost(in.getFinalCost());
		out.setLevel(in.getLevel());
		out.setPlan(in.getPlan());
		out.setRaf(in.getRaf());
	}

	@Override
	public void proccessDataToT(Task in, TTask out) {
		out.setNumberTCR(in.getNumberTCR());
		out.setLabel(in.getLabel());
		out.setBudget(in.getBudget());
		out.setConsomated(in.getConsomated());
		out.setDeliveryEffectiveDate(in.getDeliveryEffectiveDate());
		out.setDeliveryRequieredDate(in.getDeliveryRequieredDate());
		out.setFinalCost(in.getFinalCost());
		out.setLevel(in.getLevel());
		out.setPlan(in.getPlan());
		out.setRaf(in.getRaf());
	}

}
